Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

structs: remove EnterpriseMeta.GetNamespace #9805

Merged
merged 1 commit into from
Mar 9, 2021

Conversation

dnephin
Copy link
Contributor

@dnephin dnephin commented Feb 22, 2021

I added this recently without realizing that the method already existed and was named NamespaceOrEmpty. Replace all calls to GetNamespace with NamespaceOrEmpty or NamespaceOrDefault as appropriate.

@dnephin dnephin requested a review from a team February 22, 2021 17:52
@hashicorp-ci
Copy link
Contributor

🤔 Double check that this PR does not require a changelog entry in the .changelog directory. Reference

Copy link
Member

@banks banks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks for cleaning things up!

I added this recently without realizing that the method already existed and was named
NamespaceOrEmpty. Replace all calls to GetNamespace with NamespaceOrEmpty or NamespaceOrDefault
as appropriate.
@dnephin dnephin force-pushed the dnephin/remove-ent-meta-get-namespace branch from 60abc94 to 71b0f0a Compare March 9, 2021 20:17
@vercel vercel bot temporarily deployed to Preview – consul-ui-staging March 9, 2021 20:17 Inactive
@vercel vercel bot temporarily deployed to Preview – consul March 9, 2021 20:17 Inactive
@dnephin dnephin added the pr/no-changelog PR does not need a corresponding .changelog entry label Mar 9, 2021
@dnephin
Copy link
Contributor Author

dnephin commented Mar 9, 2021

The unit test failure is a flake, and the integration test failure was fixed in #9853

@dnephin dnephin merged commit 08e610b into master Mar 9, 2021
@dnephin dnephin deleted the dnephin/remove-ent-meta-get-namespace branch March 9, 2021 20:41
@hashicorp-ci
Copy link
Contributor

🍒 If backport labels were added before merging, cherry-picking will start automatically.

To retroactively trigger a backport after merging, add backport labels and re-run https://circleci.com/gh/hashicorp/consul/335076.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/no-changelog PR does not need a corresponding .changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants